package com.gxa.modules.service;

import com.gxa.common.vo.JsonResult;
import com.gxa.common.vo.R;
import com.gxa.modules.pojo.CustComplian;

public interface Cust_ComplianService {
    /**
     * 分页查询客户投诉列表
     * @param currentPage
     * @param pageSize
     * @return
     */
    JsonResult findCustComplian(Integer currentPage, Integer pageSize);

    /**
     * 增加客户投诉
     * @param custComplian
     * @return
     */
    R addCust_Complian(CustComplian custComplian);

    /**
     * 删除客户投诉
     * @param id
     * @return
     */
    R deleteCust_Complian(Integer id);

    /**
     *批量删除客户投诉
     * @param ids
     * @return
     */
    R deleteCust_ComplianList(int[] ids);

    /**
     * 修改客户投诉接口
     * @param custComplian
     * @return
     */
    R updateCust_Complian(CustComplian custComplian);

    /**
     * 查看客户投诉显示接口
     * @param id
     * @return
     */
    JsonResult seeCust_Complian(Integer id);

    /**
     * 添加处理
     * @param id
     * @param deal_note
     * @param deal_time
     * @return
     */
    R dealCust_Complian(Integer id, String deal_note, String deal_time);

    /**
     * 添加完结
     * @param id
     * @param end_note
     * @param end_time
     * @return
     */
    R endCust_Complian(Integer id, String end_note, String end_time);

    /**
     * 条件搜索客户投诉
     * @param customer_name
     * @param waybill_number
     * @param complian_type
     * @param operator_time
     * @return
     */
    JsonResult searchCust_Complian(String customer_name, String waybill_number, Integer complian_type, String operator_time);
}
